package com.yuuzy.model;
@Deprecated
public class CreditCard extends BankCard {
    //信用卡类
    private String creditcard_id;//信用卡号
    private String creditcard_password;//信用卡密码
    private Double creditcard_limit;//信用卡限额
    private Double creditcard_remain;//信用卡余额
    private Integer client_id;//客户id

    public CreditCard() {
    }

    public CreditCard(Integer client_id) {
        this.client_id = client_id;
    }

    public CreditCard(String creditcard_id, String creditcard_password) {
        this.creditcard_id = creditcard_id;
        this.creditcard_password = creditcard_password;
    }


    public CreditCard(String creditcard_id, String creditcard_password, Double creditcard_limit, Double creditcard_remain, Integer client_id) {
        this.creditcard_id = creditcard_id;
        this.creditcard_password = creditcard_password;
        this.creditcard_limit = creditcard_limit;
        this.creditcard_remain = creditcard_remain;
        this.client_id = client_id;
    }

    public String getCreditcard_id() {
        return creditcard_id;
    }

    public void setCreditcard_id(String creditcard_id) {
        this.creditcard_id = creditcard_id;
    }

    public String getCreditcard_password() {
        return creditcard_password;
    }

    public void setCreditcard_password(String creditcard_password) {
        this.creditcard_password = creditcard_password;
    }

    public Double getCreditcard_limit() {
        return creditcard_limit;
    }

    public void setCreditcard_limit(Double creditcard_limit) {
        this.creditcard_limit = creditcard_limit;
    }

    public Double getCreditcard_remain() {
        return creditcard_remain;
    }

    public void setCreditcard_remain(Double creditcard_remain) {
        this.creditcard_remain = creditcard_remain;
    }

    public Integer getClient_id() {
        return client_id;
    }

    public void setClient_id(Integer client_id) {
        this.client_id = client_id;
    }

    @Override
    public String getType() {
        return "creditcard";
    }

    @Override
    public String getBankcard_id() {
        return getCreditcard_id();
    }

    @Override
    public void setBankcard_id(String bankcard_id) {
        setCreditcard_id(bankcard_id);
    }

    @Override
    public String getBankcard_password() {
        return getCreditcard_password();
    }

    @Override
    public void setBankcard_password(String bankcard_password) {
        setCreditcard_password(bankcard_password);
    }

    @Override
    public Double getBankcard_limit() {
        return getCreditcard_limit();
    }

    @Override
    public void setBankcard_limit(Double bankcard_limit) {
        setCreditcard_limit(bankcard_limit);
    }

    @Override
    public Double getBankcard_remain() {
        return getCreditcard_remain();
    }

    @Override
    public void setBankcard_remain(Double bankcard_remain) {
        setCreditcard_remain(bankcard_remain);
    }

}
